import {get} from '../utils/request'
import {post} from '../utils/request'

// 查询福利社所有福利活动
export const Flagapi = (data) =>post("/api/costry/flag.do?flag="+data)

// 肌肤测试
export const Testapi = (pamrms) =>get("/api/skin/getresult.do?record="+pamrms)


// 获得验证码
export const yzmApi = (data) => post("/api/smslog/sendLoginCode.do?phone="+data)

// 注册·
export const regApi = (data) => post("/api/user/register.do",data)  

// 密码登录
export const loginApi = (data) => post("/api/user/loginpass.do",data)

// 验证码登录
export const codeApi = (data) => post("/api/user/loginCode.do",data)